package cn.scw.project.goods.domain;

import cn.scw.framework.aspectj.lang.annotation.Excel;
import cn.scw.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 地区信息对象 g_area
 *
 * @author api
 * @date 2020-05-20
 */
public class GArea extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 代码 */
    @Excel(name = "代码")
    private String criCode;

    /** 名称 */
    @Excel(name = "名称")
    private String criName;

    /** 简称 */
    @Excel(name = "简称")
    private String criShortName;

    /** 上级代码 */
    @Excel(name = "上级代码")
    private String criSuperiorCode;

    /** 经度 */
    @Excel(name = "经度")
    private String criLng;

    /** 纬度 */
    @Excel(name = "纬度")
    private String crlLat;

    /** 排序 */
    @Excel(name = "排序")
    private Integer criSort;

    /** 级别 */
    @Excel(name = "级别")
    private String criLevel;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCriCode(String criCode)
    {
        this.criCode = criCode;
    }

    public String getCriCode()
    {
        return criCode;
    }
    public void setCriName(String criName)
    {
        this.criName = criName;
    }

    public String getCriName()
    {
        return criName;
    }
    public void setCriShortName(String criShortName)
    {
        this.criShortName = criShortName;
    }

    public String getCriShortName()
    {
        return criShortName;
    }
    public void setCriSuperiorCode(String criSuperiorCode)
    {
        this.criSuperiorCode = criSuperiorCode;
    }

    public String getCriSuperiorCode()
    {
        return criSuperiorCode;
    }
    public void setCriLng(String criLng)
    {
        this.criLng = criLng;
    }

    public String getCriLng()
    {
        return criLng;
    }
    public void setCrlLat(String crlLat)
    {
        this.crlLat = crlLat;
    }

    public String getCrlLat()
    {
        return crlLat;
    }
    public void setCriSort(Integer criSort)
    {
        this.criSort = criSort;
    }

    public Integer getCriSort()
    {
        return criSort;
    }
    public void setCriLevel(String criLevel)
    {
        this.criLevel = criLevel;
    }

    public String getCriLevel()
    {
        return criLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("criCode", getCriCode())
            .append("criName", getCriName())
            .append("criShortName", getCriShortName())
            .append("criSuperiorCode", getCriSuperiorCode())
            .append("criLng", getCriLng())
            .append("crlLat", getCrlLat())
            .append("criSort", getCriSort())
            .append("criLevel", getCriLevel())
            .toString();
    }
}
